import request from '@/utils/request'

export function getListPage(query) {
  return request({
    url: '/cms/jcjcProgressReporting/getPageList',
    method: 'GET',
    params: query
  })
}

export function report(query) {
  return request({
    url: '/cms/JcjcPlanYear/saveOrUpdate',
    method: 'POST',
    data: query
  })
}

export function receive(id) {
  return request({
    url: `/cms/JcjcPlanYear/${id}`,
    method: 'POST'
  })
}
// 获取线路类型
export function getRailtypeList() {
  return request({
    url: '/cms/SysDept/railtypeList',
    method: 'get'
  })
}

export function getPageList() {
  return request({
    url: '/cms/jcjcAnalysisPlan/getPageList',
    method: 'get'
  })
}
